import request from '@/utils/request'

//查询商品单位
export const getPageAPI = (pageNum,pageSize) => {
  return request({
    url: `/api/productUnit/page/${pageNum}/${pageSize}`,
    method: 'get',
  })
}

//查询所有商品分类数据
export const getSelectAllAPI = () => {
  return request({
    url: '/api/productUnit/selectAll',
    method: 'get',
  })
}
